package com.gugee.ins.common.model.spider.comment;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.gugee.ins.common.model.spider.blogger.PageInfo;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 *
 * @author Huangxin
 */
@Data
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class EdgeMediaCommentBody {

    private Long count;

    @JsonProperty("page_info")
    private PageInfo pageInfo;

    private List<EdgeMediaComment> edges;

    /**
     *
     * @author Huangxin
     */
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class EdgeMediaComment {
        private EdgeMediaCommentNode node;
    }
}
